/*
 * Copyright (c) 2009 by ZDO Corporation.
 * Author: A. Onur Cinar
 * 
 * http://code.google.com/p/zdo-struts2
 * http://www.zdo.com
 * 
 * This file is part of ZDO Struts 2 Applications.
 *
 * ZDO-Struts2 is free software: you can redistribute it and/or
 * modify it under the terms of  the GNU General Public License
 * as published by the Free Software Foundation, either version
 *  3 of the License, or any later version.
 *
 * ZDO-Struts2 is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY  or  FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */

package com.zdo.security;

/**
 * Security aware. Provides {@link #setSecurityContext(SecurityContext)} method
 * for {@link SecurityInterceptor} to set {@link SecurityContext} instance.
 */
public interface SecurityAware
{
	/**
	 * Sets the security context.
	 * 
	 * @param securityContext security context.
	 */
	public void setSecurityContext (SecurityContext securityContext);
}
